/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package etherblocks.engine.states;

import com.jme3.app.Application;
import com.jme3.app.state.AppStateManager;
import etherblocks.mods.Mod;

/**
 *
 * @author Carl
 */
public class ModAppState extends BaseAppState{

    public ModAppState(Mod mod){
        this.mod = mod;
    }
    private Mod mod;

    @Override
    public void initialize(AppStateManager stateManager, Application application){
        super.initialize(stateManager, application);
        mod.setMainApplication(mainApplication);
    }

    public Mod getMod(){
        return mod;
    }
}
